package com.irdstudio.tdp.console.constant;

public class Constants {

    public enum PackageType {
        Develop(1, "领域驱动开发"),
        Model(11, "领域模型设计"),
        Dev(12, "领域服务开发"),
        Serve(13, "领域服务编排"),
        Scp(3, "跨领域编排"),
        App(4, "领域应用交付"),
        AppDeploy(41, "应用发布"),
        AppLog(42, "应用日志"),
        ;
        private Integer code;
        private String name;
        PackageType(Integer code, String name) {
            this.code = code;
            this.name = name;
        }

        public Integer getCode() {
            return code;
        }

        public String getName() {
            return name;
        }
    }

    public enum VarType {
        Output("O", "服务出参"),
        Input("I", "服务入参"),
        Var("D", "领域变量"),
        ;
        private String code;
        private String name;
        VarType(String code, String name) {
            this.code = code;
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public String getName() {
            return name;
        }
    }
}
